package com.bnz.manager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bnz.common.PageUtils;
import com.bnz.manager.entity.SpecificationEntity;
import com.bnz.manager.entity.group.Specification;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wangye
 * @email 1149688570@qq.com
 * @date 2023-03-23 19:22:25
 */
public interface SpecificationService extends IService<SpecificationEntity> {

    PageUtils queryPage(Map<String, Object> params);
    // 添加
    void insert(Specification specification);
    // 根据id查询相关规格信息
    Specification findById(String id);
    // 修改规格和规格选项
    void updateSpec(Specification specification);
    // 删除
    void delete(List<String> ids);
}

